<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
	<head>
		<title>设计器示例</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta name="viewport" content="width=device-width">
		<link rel="stylesheet" type="text/css" href="icons/icons.css"/>
		<link rel="stylesheet" type="text/css" href="../ext-4.2.1/resources/css/ext-all.css"/>
		<script type="text/javascript" src="../ext-4.2.1/bootstrap.js"></script>
		<script type="text/javascript" src="../ext-4.2.1/locale/ext-lang-zh_CN.js"></script>
		<script type="text/javascript" src="../SvgEditor/plugins/raphael-min.js"></script>
		<script type="text/javascript" src="../SvgEditor/Editor.js"></script>
	</head>
	<body>
		<script type="text/javascript" src="js/Init.js"></script>
		<script type="text/javascript" src="js/ModelTree.js"></script>
		<script type="text/javascript" src="js/EditorPanel.js"></script>
		<script type="text/javascript">
			Ext.onReady(function() {
				Ext.QuickTips.init();
				var editor = Ext.create('NG.i6p.EditorPanel', {readOnly: false});
				var viewport = new Ext.container.Viewport({
					layout: 'fit',
					items: [editor]
				});
				var init = Ext.create('NG.i6p.Init');
				editor.topBar.initUtil = init;
				init.init(editor.canvas);
			});
		</script>
	</body>
</html>
